package com.fourforfo.fourmall.auth.vo;

import lombok.Data;

import java.util.Date;

/**
 * 数据封装
 * {
 *     "id": 10406422,
 *     "login": "fourforfo",
 *     "name": "fourforfo",
 *     "avatar_url": "https://gitee.com/assets/no_portrait.png",
 *     "url": "https://gitee.com/api/v5/users/fourforfo",
 *     "html_url": "https://gitee.com/fourforfo",
 *     "remark": "",
 *     "followers_url": "https://gitee.com/api/v5/users/fourforfo/followers",
 *     "following_url": "https://gitee.com/api/v5/users/fourforfo/following_url{/other_user}",
 *     "gists_url": "https://gitee.com/api/v5/users/fourforfo/gists{/gist_id}",
 *     "starred_url": "https://gitee.com/api/v5/users/fourforfo/starred{/owner}{/repo}",
 *     "subscriptions_url": "https://gitee.com/api/v5/users/fourforfo/subscriptions",
 *     "organizations_url": "https://gitee.com/api/v5/users/fourforfo/orgs",
 *     "repos_url": "https://gitee.com/api/v5/users/fourforfo/repos",
 *     "events_url": "https://gitee.com/api/v5/users/fourforfo/events{/privacy}",
 *     "received_events_url": "https://gitee.com/api/v5/users/fourforfo/received_events",
 *     "type": "User",
 *     "blog": null,
 *     "weibo": null,
 *     "bio": null,
 *     "public_repos": 0,
 *     "public_gists": 0,
 *     "followers": 0,
 *     "following": 0,
 *     "stared": 0,
 *     "watched": 1,
 *     "created_at": "2022-02-08T21:43:20+08:00",
 *     "updated_at": "2022-08-13T14:38:40+08:00",
 *     "email": null
 *     }
 */


@Data
public class GiteeUserInfoVO {

    private Long id;
    private String login;
    private String name;
    private String avatar_url;
    private String url;
    private String html_url;
    private String remark;
    private String followers_url;
    private String following_url;
    private String gists_url;
    private String starred_url;
    private String subscriptions_url;
    private String organizations_url;
    private String repos_url;
    private String events_url;
    private String received_events_url;
    private String type;
    private String blog;
    private String weibo;
    private String bio;
    private Integer public_repos;
    private Integer public_gists;
    private Integer followers;
    private Integer following;
    private Integer stared;
    private Integer watched;
    private Date created_at;
    private Date updated_at;
    private String email;
}
